SftTree/OCX 7.0

DataObjectFiles.Remove Method

Softel vdm, Inc.

Removes a filename from the DataObject.Files collection (sftCFFiles format only).

Syntax       

VB.NET

object.Remove(ByVal ItemIndex As Object)

VB

object.Remove(ByVal ItemIndex As Variant)

C#.NET

void object.Remove(object ItemIndex);

VC++

HRESULT object->Remove(const _variant_t& ItemIndex);

C

HRESULT object->raw_Remove(VARIANT ItemIndex);

Delphi

procedure object.Remove(ItemIndex : OleVariant);

object

A DataObjectFiles object.

ItemIndex

The one-based position of the file name to be removed as an Integer or the filename to be removed as a String.

Comments

The Remove method removes a filename from the DataObject.Files collection (sftCFFiles format only).

To remove all the file names from the DataObject.Files collection, use the Clear method.

See Also  DataObjectFiles Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com